home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 1 / Gold Medal Software Volume 1 (Gold Medal) (1994).iso / prog / rand20.arj / RAND.DOC < prev    next >
Encoding:
Text File  |  1993-07-07  |  8.0 KB  |  245 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.         
  8.                             
  9.                             
  10.                             
  11.                             
  12.                             
  13.                             
  14.                             
  15.                             
  16.                             
  17.                             
  18.                             
  19.                             
  20.                             
  21.                             
  22.                             
  23.                             
  24.                                STEENBURGH'S STUFF
  25.                             Mildly Useful Utilities
  26.                                 For Batch Files
  27.                                  Version  3.0
  28.           Copyright 1991-1993 by Chuck Steenburgh and Tay-Jee Software
  29.         
  30.                              _______
  31.                         ____|__     |               (TM)
  32.                      --|       |    |-------------------
  33.                        |   ____|__  |  Association of
  34.                        |  |       |_|  Shareware
  35.                        |__|   o   |    Professionals
  36.                      -----|   |   |---------------------
  37.                           |___|___|    MEMBER
  38.         
  39.         
  40.         
  41.         
  42.         
  43.         
  44.         
  45.         
  46.         
  47.         
  48.         
  49.         
  50.         
  51.         
  52.         
  53.         
  54.         
  55.         
  56.         
  57.         
  58.         
  59.         
  60.         
  61.  
  62.                                      Page 1
  63.  
  64.  
  65.  
  66.  
  67.  
  68.         RAND 2.0
  69.         Copyright 1991-1993 Chuck Steenburgh & Tay-Jee Software
  70.         
  71.            RAND provides simple random number generating capabilities
  72.         for batch files.  RAND returns a random number in the form of
  73.         the DOS errorlevel, which you can then evaluate in your batch
  74.         files.
  75.                
  76.         Usage:        RAND [max value] | [/f]
  77.         
  78.                   max value       Upper limit of random number range.
  79.                                   RAND will generate an errorlevel
  80.                                   between 1 and this number.  The de-
  81.                                   fault is 100.  The maximum is 255.
  82.                   
  83.                   /f              Rand will generate a unique file name |
  84.                                   and display it.  This name can be re- |
  85.                                   directed via DOS as input to another  |
  86.                                   command or program.                   |
  87.                                   
  88.         Examples:
  89.         
  90.              RAND                 Generates a random errorlevel be-
  91.                                   tween 1-100.
  92.                                   
  93.              RAND 10              Generates a random errorlevel be-
  94.                                   tween 1-10.
  95.              
  96.              RAND /F              Generates a unique file name          |
  97.                                   
  98.            If the max value specified is greater than 255 or less than
  99.         1, RAND sets the errorlevel to 0.
  100.                 
  101.          
  102.         OMBUDSMAN
  103.         
  104.           This program is produced by a member of the Association of
  105.         Shareware Professionals (ASP).  ASP wants to make sure that
  106.         the shareware principle works for you.  If you are unable to
  107.         resolve a shareware-related problem with an ASP member by
  108.         contacting the member directly, ASP may be able to help.  The
  109.         ASP Ombudsman can help you resolve a dispute or problem with
  110.         an ASP member, but does not provide technical support for 
  111.         members' products.  Please write to the ASP Ombudsman at 545
  112.         Grover Road, Muskegon, MI 49442 or send a CompuServe message
  113.         via CompuServe Mail to ASP Ombudsman, 70007,3536.
  114.         
  115.         
  116.         DISCLAIMER
  117.         
  118.            The programs described in this documentation are guaran-
  119.         teed to do absolutely nothing!  They have, however, in my exper-
  120.         ience performed essentially as described herein.  The author
  121.         will not be responsible for any loss or damages caused through
  122.  
  123.                                      Page 2
  124.  
  125.  
  126.  
  127.  
  128.  
  129.         the use of these programs.  No warranty, express or implied,
  130.         is provided for this software's performance, merchantability,
  131.         or fitness for a particular purpose.
  132.         
  133.            All trademarks are property of their respective owners.
  134.         
  135.            The programs and documentation are Copyright 1991,1992 by 
  136.         Chuck Steenburgh.  You are encouraged to distribute these pro-
  137.         grams provided the following conditions are met:
  138.         
  139.            - all files contained in the archive or distribution disk
  140.              must be distributed together in UNMODIFIED form
  141.         
  142.            - you charge no more than a reasonable fee for copying or
  143.              subscription, and clearly indicate that payment of such
  144.              a fee does NOT grant ownership of the programs.
  145.         
  146.            This program is part of set of utilities known as STEEN-
  147.         BURGH'S STUFF (Mildly Useful Utilities).  The full set of
  148.         utilities includes the following programs:
  149.         
  150.              BATBOX:     Simple menu creation/input system
  151.              CHKDRV:     Checks disk drive status
  152.              CHKPRN:     Checks parallel printer status
  153.              CLK:        Displays time on screen
  154.              CURSOR:     Change cursor shape
  155.              DOSVER:     Checks for DOS version currently running
  156.              INPUT:      Simple prompt/input system
  157.              KLS:        Colorful screen-clearing utility
  158.              LAUNCHER:   File selection/execution system
  159.              MUSIC:      Plays transcribed sheet music on the PC
  160.              RAND:       Random number generator
  161.              SKIP:       Prints blank lines from batch files
  162.              SOUNDER:    Wide range of noise making options
  163.              SPACE:      File/disk space reporting utility
  164.              WAITFOR:    Timed pauses 
  165.              WHENISIT:   Date/time telling utility
  166.              WRITE:      Colorful output anywhere on screen
  167.              XD:         Create/switch directories at the same time
  168.         
  169.            You may evaluate these programs for up to 30 days on a free
  170.         trial basis.  After 30 days, you should register your use of
  171.         these programs.  The registration fee is $20, payable to the
  172.         author at the address given below.  For those registering
  173.         directly with Tay-Jee Software, we offer a $5 cash discount.
  174.         
  175.            Let's be real: I don't plan to make a lot of money this way.
  176.         Registration does have its advantages:
  177.         
  178.            - I am improving these programs all the time.  Registration
  179.              will get you IMMEDIATELY a disk with the latest version.
  180.              You will also get the next major release of the program set
  181.              sent to you free of charge.
  182.         
  183.  
  184.                                      Page 3
  185.  
  186.  
  187.  
  188.  
  189.  
  190.            - While I can't promise to include everyone's suggestions
  191.              in program updates, you can bet I'll listen to registered
  192.              users before any of you scrounges out there.
  193.         
  194.            - You will make me feel all warm and fuzzy and appreciated, 
  195.              and all that good stuff.
  196.         
  197.            - You will also get an evaluation copy of my text file for-
  198.              matting program (used to produce the margins in this doc-
  199.              ument), and any other electronic creations I have decided
  200.              to unleash on a foolish, unsuspecting world.
  201.         
  202.            Send comments/registrations to:
  203.         
  204.                 Tay-Jee Software
  205.                 Post Office Box 835
  206.                 Lexington, VA 24450
  207.                 (703)464-5290
  208.                 
  209.                 !!!VIRGINIA RESIDENTS ADD 4.5SALES TAX!!!
  210.         
  211.                 CIS 72330,1776 (I haunt the IBMSYS and IBMPRO forums)
  212.         
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.                                      Page 4